package com.meilai.project.dto.system;

import com.meilai.project.vo.SelectOptionVO;
import com.meilai.project.vo.system.BTNRightVO;
import com.meilai.project.vo.system.RouterVO;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

/**
 * @author yxg
 * @date 2020/2/19 20:13
 */
@Data
public class UserDTO {
    Long id;
    String name;
    String username;
    String email;
    String mobile;
    Integer status;
    Timestamp created_at;
    Timestamp updated_at;
    Long mainDeptId;
    String mainDeptName;
    String mainDeptPost;

    List<RouterVO> rights;
    List<BTNRightVO> btnRights;
    Boolean isUser;
    List<SelectOptionVO> departments;
    String cur_department;
}
